<?php
namespace app\api\controller\v1;
use think\Db;
use app\service\UserWeixinService;
use app\service\TechnWeixinService;
use app\service\PosterService;
use think\Request;

use app\service\PaymentService;



class Jssdk extends Base
{
	public function _initialize()
	{
		parent::_initialize();
	}

	/**
	 * 获取轮播图片
	 */
	public function index()
	{
	    $sign = (new WxConfig())->sdk_config(Request::instance()->url(true));
	    $sign=json_decode($sign,true);
		return $this->fetch('',[
	        'jsSign'=>$sign
	        ]);
	}
	
    
}